package com.workcell.workdata.xthings.service;

import com.alibaba.fastjson.JSONObject;
import com.workcell.workdata.xthings.entity.CodeChainnum;
import com.workcell.workdata.xthings.entity.CodeVoiceSynthesis;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Admin
* @description 针对表【t_code_voice_synthesis(语音合成播放信息表)】的数据库操作Service
* @createDate 2023-08-03 09:17:40
*/
public interface CodeVoiceSynthesisService extends IService<CodeVoiceSynthesis> {

    Boolean saveCodeBaseInfo(CodeChainnum codeChainnum);

    /**
     * 获取硬件清单
     * @return
     */
    List<JSONObject> getHardwareList();

    /**
     * 查询硬件基本信息
     * @param baseIds
     * @return
     */
    Object getHardwareBase(String baseIds);

    /**
     * 查询硬件快照信息
     * @param codeId
     * @return
     */
    Object getHardwareInfo(String codeId);

    Object getHardwareBaseOpen(String deviceNo);
}
